package 集合相关.list;

import java.io.IOException;
import java.util.ArrayList;

public class ArrayListDemo {

	public final static void main(String[] arg) throws IOException{
		
         ArrayList<String> ll=new ArrayList<>();
         ll.add("notepad");
         ll.add("calc");
         Process p=Runtime.getRuntime().exec(ll.toArray(new String[ll.size()]));
	}
}
